package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程学习
 */
@ApiModel(value = "com-lanchetech-entity-CourseStudy")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CourseStudy implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 专栏id
     */
    @ApiModelProperty(value = "专栏id")
    private Long columnId;

    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id")
    private Long courseId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    private static final long serialVersionUID = 1L;

    public static CourseStudyBuilder builder() {
        return new CourseStudyBuilder();
    }
}